package cn.hill4j.tool.spring.ext.iop.dynamic;
/**
  * ClassName: BaseDymIopClientBuilder
  * Description: 动态iopclient构造器
  * @author hillchen
  * Date: 2023/8/11
  * @version: 1.0
  */
public abstract class BaseDymIopClientBuilder implements DymIopClientsBuilder{
    /**
     * iopclient 接口类型
     */
    private Class interfaceClazz;
    /**
     * 动态健值获取器
     */
    private DymKeySelector dymKeySelector;
    @Override
    public <T> Class<T> getInterfaceClazz() {
        return interfaceClazz;
    }

    @Override
    public <T> void setInterfaceClazz(Class<T> interfaceClazz) {
        this.interfaceClazz = interfaceClazz;
    }
    /**
     * @author hillchen
     * Description: 获取动态健值获取器
     * Date: 2023/8/11 00:20
     * @return DymKeySelector
     **/
    public DymKeySelector getDymKeySelector() {
        return dymKeySelector;
    }
    /**
     * @author hillchen
     * Description: 设置动态健值获取器
     * Date: 2023/8/11 00:20
     * @param dymKeySelector 动态健值获取器
     **/
    public void setDymKeySelector(DymKeySelector dymKeySelector) {
        this.dymKeySelector = dymKeySelector;
    }
}
